package com.yanqu.road.entity.log.chefduel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

/**
 * @Author : Cxp
 * @Time : 2024-11-29
 * @Description :
 */

@FieldTypeAnnotation(tableName = "t_c_activity_chefduel2_auto_join_log", desc = "自动回宴参加记录", uploadCk = true, autoSave = true, isCross = true)
public class ChefDuel2AutoJoinLog extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true, update = true)
    private long userId;

    @FieldTypeAnnotation(desc = "区服ID", isIndex = true, update = true)
    private long serverId;

    @FieldTypeAnnotation(desc = "摊主活动ID")
    private int hostActivityId;

    @FieldTypeAnnotation(desc = "摊主玩家ID")
    private long hostId;

    @FieldTypeAnnotation(desc = "摊主区服ID")
    private long hostServerId;

    @FieldTypeAnnotation(desc = "汤勺ID")
    private int spoonId;

    @FieldTypeAnnotation(desc = "桌子ID")
    private int tableId;

    @FieldTypeAnnotation(desc = "试吃时间")
    private long joinTime;

    public ChefDuel2AutoJoinLog() {
    }

    public ChefDuel2AutoJoinLog(int activityId, long userId, long serverId, int hostActivityId, long hostId, long hostServerId, int spoonId, int tableId, long joinTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.serverId = serverId;
        this.hostActivityId = hostActivityId;
        this.hostId = hostId;
        this.hostServerId = hostServerId;
        this.spoonId = spoonId;
        this.tableId = tableId;
        this.joinTime = joinTime;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public int getHostActivityId() {
        return hostActivityId;
    }

    public void setHostActivityId(int hostActivityId) {
        this.hostActivityId = hostActivityId;
    }

    public long getHostId() {
        return hostId;
    }

    public void setHostId(long hostId) {
        this.hostId = hostId;
    }

    public long getHostServerId() {
        return hostServerId;
    }

    public void setHostServerId(long hostServerId) {
        this.hostServerId = hostServerId;
    }

    public int getSpoonId() {
        return spoonId;
    }

    public void setSpoonId(int spoonId) {
        this.spoonId = spoonId;
    }

    public int getTableId() {
        return tableId;
    }

    public void setTableId(int tableId) {
        this.tableId = tableId;
    }

    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        this.joinTime = joinTime;
    }
}
